// 导入需要注册的组件
import pubTable from './pub-table/index.vue'
import pubPagination from './pub-pagination/index.vue'
import pubDictSelect from './dict-select/index.vue'
import pubDictSelectMiltiple from './dict-select-miltiple/index.vue'
import pubDialog from './pub-dialog/index.vue'
import areaCascader from './area-cascader/index.vue'
import areaCascaderSearch from './area-cascader-search/index.vue'
import areaCascaderMul from './area-cascader-mul/index.vue'
import pubDictRadio from './dict-radio/index.vue'
import pubDictCheckbox from './dict-checkbox/index.vue'
import pubUpload from './pub-upload/index.vue'
import pubUploadCropper from './pub-upload-cropper/index.vue'
import bigUpload from './big-upload/index.vue'
import Approve from './approve/index.vue'
import approveList from './approveList/index.vue'
import pubDownload from './pub-download/index.vue'
import dateRangeSelect from './date-range-select.vue'
import yearRangeSelect from './year-range-select.vue'
import orgSelect from './org-select.vue'
import orgSqSelectLazy from './org-sq-select-lazy.vue'
import orgYlSelectLazy from './org-yl-select-lazy.vue'
import dynamicSelect from './dynamic-select.vue'
import ageRangeSelect from './age-range-select.vue'
import moneyRangeSelect from './money-range-select.vue'
import pubSearch from './pub-search/index.vue'
import pubTableAutoHeight from './pub-table-auto-height/index.vue'
import commonDetail from '@/components/common-detail/common-detail.vue'
import pubImport from './pub-import/index.vue'

export default function install(app) {
  app.component('pubTable', pubTable),
    app.component('pubTableAutoHeight', pubTableAutoHeight),
    app.component('pubPagination', pubPagination),
    app.component('pubDictSelect', pubDictSelect),
    app.component('pubDictSelectMiltiple', pubDictSelectMiltiple),
    app.component('pubDialog', pubDialog),
    app.component('areaCascader', areaCascader),
    app.component('areaCascaderSearch', areaCascaderSearch),
    app.component('areaCascaderMul', areaCascaderMul),
    app.component('pubDictRadio', pubDictRadio),
    app.component('pubDictCheckbox', pubDictCheckbox),
    app.component('pubUpload', pubUpload),
    app.component('bigUpload', bigUpload),
    app.component('pubUploadCropper', pubUploadCropper),
    app.component('Approve', Approve),
    app.component('approveList', approveList)
  app.component('pubDownload', pubDownload)
  app.component('dateRangeSelect', dateRangeSelect)
  app.component('yearRangeSelect', yearRangeSelect)
  app.component('orgSelect', orgSelect)
  app.component('orgSqSelectLazy', orgSqSelectLazy)
  app.component('orgYlSelectLazy', orgYlSelectLazy)
  app.component('dynamicSelect', dynamicSelect)
  app.component('ageRangeSelect', ageRangeSelect)
  app.component('pubSearch', pubSearch)
  app.component('commonDetail', commonDetail)
  app.component('moneyRangeSelect', moneyRangeSelect)
  app.component('pubImport', pubImport)
}
